<?php
class DoEditAction extends BackendAction
{
	public function execute()
	{
		$userDao = new UserDao();
		$post = AttrConfFormProcessor::standardize($_POST);
		if($userDao->updateUserAttrConf($post))
		{
			$this->view->result["code"] = 200;
		}
		else
		{
			$this->view->result["code"] = 500;
		}
		$this->view->render();
	}
}
